Remember:
This is a community game! Above all, it should be fun. Consider your options, figure out where your contribution would have the most effect, and please don't try cheating. We all know the intent of the rules; it shouldn't be necessary to go into a lot of detail, and circumventing that intent is only going to be a drain on the game.
If you want to play in round two, drop a line in the other thread and let us know.
If you have a good idea for the project for round two, again, drop a line in the other thread.
Scoring:
As we iterate over the contributor list, every valid insertion scores one point, every addition scores two points, and every correction scores three points.
Perhaps we can get a moderator to update the scores on the first post every once in a while?
Project:
Develop an application to gather simple statistical data for a simple ASCII text document. (You may assume platform native newlines, standard punctuation, and that no words are hyphenated.)
The application should process the input file's name as the first and only command line argument.
The application should produce a sorted list of frequencies for every word found in the input.
The application should produce the mean and mode of word lengths.
The application should produce the shortest and longest words.
Base Code:
Code:int main ( int argc , char ** argv ) { }
Rules:
1) Standard conforming C++ only!
2) One simple additions accounting for simple control constructs OR one insertion OR one correction per contributor turn. (Additional include directives do not count towards these options.)
3) Contributors have 24 hours to take their turn; if a contributer misses their turn, they will be passed over until it would be their turn again.
4) Let's keep a simple clean style for the sake of simplicity; newbies may want to play and they don't need some crazy style to complicate matters. (You don't have to my style as above though; it was just an example.)
Contributors:
EVOEx
User Name
VirtualAce
msh
glo
Sipher
Perspective
laserlight
Yarin
whiteflags
cpjust
C_ntua
phantomotap
(If you don't want to contribute, try and drop a note saying that you don't want to play.)
Round Two Preparation: http://cboard.cprogramming.com/gener...und-02%5D.html
Soma